package com.aauedu.springboot;

import com.aauedu.config.WebConfig;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.util.ResourceUtils;

import java.io.FileNotFoundException;

@Slf4j
@SpringBootApplication(scanBasePackages = "com.aauedu")
public class MainApp {
    public static void main(String[] args) throws FileNotFoundException {
        /**
         * private static final String[] CLASSPATH_RESOURCE_LOCATIONS = new String[]{"classpath:/META-INF/resources/",
         * "classpath:/resources/", "classpath:/static/", "classpath:/public/"};
         *
         */
        ConfigurableApplicationContext ioc = SpringApplication.run(MainApp.class, args);
//        WebConfig bean = ioc.getBean(WebConfig.class);
//        System.out.println(bean);
//        System.out.println(bean.webMvcConfigurer());

    }
}
